package com.gxa.dao;

import java.sql.SQLException;
import java.util.List;

public interface HouseDao {
    /**
     * 与数据库交互：分页查询房产信息
     * @param currentPage
     * @param pageSize
     * @return
     * @throws SQLException
     */
    List queryHouseList(Integer currentPage, Integer pageSize) throws SQLException;

    Integer countHouse() throws SQLException;
}
